import React from 'react'
import "./Getnew.less"

export default function Getnew(props) {
    // console.log(props);
    return (
        <div className='getnew'>
            <div className='box'>
                {props.newshop.map(item => (
                    <div className='box1' key={item.id}>
                        <div className='imgbox' >
                            <img src={'http://localhost:1000'+item.img} alt="" />
                        </div>
                        <div>{item.price}</div>
                        <div>{item.market_price}</div>
                        <div>{item.goodsname}</div>
                    </div>
                ))}
            </div>
        </div>
    )
}

